Install separate render node test for cairo and vulkan
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 Oct 2017 01:40:53 +0000 (09:40 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 18 Oct 2017 15:30:20 +0000 (17:30 +0200)
The vulkan test currently fails.

testsuite/gsk/meson.build
testsuite/gsk/render-nodes-cairo.test.in [new file with mode: 0644]
testsuite/gsk/render-nodes-vulkan.test.in [new file with mode: 0644]
testsuite/gsk/render-nodes.test.in [deleted file]

index 218439e65ce9bb559dfc1c45de2d29bb6f5280b2..7b932d3f7bd0ed75fc8be9ef54f1fa8c98080f97 100644 (file)
@@ -62,8 +62,12 @@ test_data = [
 if get_option('install-tests')
   conf = configuration_data()
   conf.set('libexecdir', gtk_libexecdir)
-  configure_file(input: 'render-nodes.test.in',
-                 output: 'render-nodes.test',
+  configure_file(input: 'render-nodes-cairo.test.in',
+                 output: 'render-nodes-cairo.test',
+                 configuration: conf,
+                 install_dir: testdatadir)
+  configure_file(input: 'render-nodes-vulkan.test.in',
+                 output: 'render-nodes-vulkan.test',
                  configuration: conf,
                  install_dir: testdatadir)
 
diff --git a/testsuite/gsk/render-nodes-cairo.test.in b/testsuite/gsk/render-nodes-cairo.test.in
new file mode 100644 (file)
index 0000000..3860baf
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "env GSK_RENDERER=cairo @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k"
+Type=session
+Output=TAP
diff --git a/testsuite/gsk/render-nodes-vulkan.test.in b/testsuite/gsk/render-nodes-vulkan.test.in
new file mode 100644 (file)
index 0000000..2c91ecd
--- /dev/null
@@ -0,0 +1,4 @@
+[Test]
+Exec=/bin/sh -c "env GSK_RENDERER=vulkan @libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k"
+Type=session
+Output=TAP
diff --git a/testsuite/gsk/render-nodes.test.in b/testsuite/gsk/render-nodes.test.in
deleted file mode 100644 (file)
index 01f2a50..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[Test]
-Exec=@libexecdir@/installed-tests/gtk-4.0/gsk/test-render-nodes --tap -k
-Type=session
-Output=TAP